#ifndef PLAYDELEGATE_H
#define PLAYDELEGATE_H
#include <QStyledItemDelegate>
#include <QPainter>

class PlayDelegate : public QStyledItemDelegate
{
    Q_OBJECT
public:
    PlayDelegate(QWidget *parent = 0) : QStyledItemDelegate(parent) {}
    void paint(QPainter *painter, const QStyleOptionViewItem &option,
               const QModelIndex &index) const;
    QSize sizeHint(const QStyleOptionViewItem &option,
                   const QModelIndex &index) const;

};

#endif // PLAYDELEGATE_H
